package com.baidu.mapsdkexample.uploaddata;

public class PointInfo {
    private String name;
    private Location location;
    private String address;
    private String province;
    private String city;
    private String area;
    private String street_id;
    private String telephone;
    private String uid;//数据库未更新
    private Detail_info detail_info;

    public PointInfo(String name, Location location, String address, String province, String city, String area, String street_id, String telephone, String uid, Detail_info detail_info) {
        this.name = name;
        this.location = location;
        this.address = address;
        this.province = province;
        this.city = city;
        this.area = area;
        this.street_id = street_id;
        this.telephone = telephone;
        this.uid = uid;
        this.detail_info = detail_info;
    }

    public PointInfo() {
    }

    public String getName() {
        return name;
    }

    public Location getLocation() {
        return location;
    }

    public String getAddress() {
        return address;
    }

    public String getProvince() {
        return province;
    }

    public String getCity() {
        return city;
    }

    public String getArea() {
        return area;
    }

    public String getStreet_id() {
        return street_id;
    }

    public String getTelephone() {
        return telephone;
    }

    public String getUid() {
        return uid;
    }

    public Detail_info getDetail_info() {
        return detail_info;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setLocation(Location location) {
        this.location = location;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public void setArea(String area) {
        this.area = area;
    }

    public void setStreet_id(String street_id) {
        this.street_id = street_id;
    }

    public void setTelephone(String telephone) {
        this.telephone = telephone;
    }

    public void setUid(String uid) {
        this.uid = uid;
    }

    public void setDetail_info(Detail_info detail_info) {
        this.detail_info = detail_info;
    }
}

class Detail_info {
    private String tag;
    private String type;
    private String detail_url;
    private Double overall_rating;
    private Double comment_num;

    public Detail_info(String tag, String type, String detail_url, Double overall_rating, Double comment_num) {
        this.tag = tag;
        this.type = type;
        this.detail_url = detail_url;
        this.overall_rating = overall_rating;
        this.comment_num = comment_num;
    }

    public Detail_info() {
    }

    public String getTag() {
        return tag;
    }

    public String getType() {
        return type;
    }

    public String getDetail_url() {
        return detail_url;
    }

    public Double getOverall_rating() {
        return overall_rating;
    }

    public Double getComment_num() {
        return comment_num;
    }

    public void setTag(String tag) {
        this.tag = tag;
    }

    public void setType(String type) {
        this.type = type;
    }

    public void setDetail_url(String detail_url) {
        this.detail_url = detail_url;
    }

    public void setOverall_rating(Double overall_rating) {
        this.overall_rating = overall_rating;
    }

    public void setComment_num(Double comment_num) {
        this.comment_num = comment_num;
    }
}

class Location {
    private Double lng;
    private Double lat;

    public Double getLng() {
        return lng;
    }

    public void setLng(Double lng) {
        this.lng = lng;
    }

    public void setLat(Double lat) {
        this.lat = lat;
    }

    public Double getLat() {
        return lat;
    }

    public Location() {
    }

    public Location(Double lng, Double lat) {
        this.lng = lng;
        this.lat = lat;
    }
}
